<!--
* @package   ENY Tab Slider
* @version   1.0.00 2009-12-23
* @author    ENYtheme http://www.enytheme.com
* @copyright Copyright (C) 2009 ENYtheme e.K.
* @licence	 GNU/GPL
-->

<?php 
$document = & JFactory::getDocument();
$document->addStyleSheet(JURI::base(true).'/modules/mod_eny_tab_slider/css/style.css');
$total_width  = $params->get( 'total_width');
$tab_width  = $params->get( 'tab_width');
$image_width  = $params->get( 'image_width');
$counttabs  = $params->get( 'counttabs');
$aktivatethumbnail  = $params->get( 'aktivatethumbnail');
$h3color  = $params->get( 'h3color');
$h3colorcurrent  = $params->get( 'h3colorcurrent');
$slogancolor  = $params->get( 'slogancolor');
$slogancolorcurrent  = $params->get( 'slogancolorcurrent');
$readmoretext  = $params->get( 'readmoretext');
$readmoretextcurrent  = $params->get( 'readmoretextcurrent');
$readmorebackground  = $params->get( 'readmorebackground');
$readmorebackgroundcurrent  = $params->get( 'readmorebackgroundcurrent');
// 1 Tab
$first_tab_activation  = $params->get( 'first_tab_activation');
$first_tab_thumb  = $params->get( 'first_tab_thumb');
$first_tab_title  = $params->get( 'first_tab_title');
$first_tab_subtitle  = $params->get( 'first_tab_subtitle');
if($first_tab_title=="none"){
	$first_tab_title=""	;
}
if($first_tab_subtitle=="none"){
	$first_tab_subtitle=""	;
}

$first_tab_image  = $params->get( 'first_tab_image');
$first_tab_readmore_text  = $params->get( 'first_tab_readmore_text');
$first_tab_readmore_link  = $params->get( 'first_tab_readmore_link');

// 2 Tab
$second_tab_activation  = $params->get( 'second_tab_activation');
$second_tab_thumb  = $params->get( 'second_tab_thumb');
$second_tab_title  = $params->get( 'second_tab_title');
$second_tab_subtitle  = $params->get( 'second_tab_subtitle');
if($second_tab_title=="none"){
	$second_tab_title=""	;
}
if($second_tab_subtitle=="none"){
	$second_tab_subtitle=""	;
}
$second_tab_image  = $params->get( 'second_tab_image');
$second_tab_readmore_text  = $params->get( 'second_tab_readmore_text');
$second_tab_readmore_link  = $params->get( 'second_tab_readmore_link');

// 3 Tab
$third_tab_activation  = $params->get( 'third_tab_activation');
$third_tab_thumb  = $params->get( 'third_tab_thumb');
$third_tab_title  = $params->get( 'third_tab_title');
$third_tab_subtitle  = $params->get( 'third_tab_subtitle');
if($third_tab_title=="none"){
	$third_tab_title=""	;
}
if($third_tab_subtitle=="none"){
	$third_tab_subtitle=""	;
}
$third_tab_image  = $params->get( 'third_tab_image');
$third_tab_readmore_text  = $params->get( 'third_tab_readmore_text');
$third_tab_readmore_link  = $params->get( 'third_tab_readmore_link');

// 4 Tab
$fourth_tab_activation  = $params->get( 'fourth_tab_activation');
$fourth_tab_thumb  = $params->get( 'fourth_tab_thumb');
$fourth_tab_title  = $params->get( 'fourth_tab_title');
$fourth_tab_subtitle  = $params->get( 'fourth_tab_subtitle');
if($fourth_tab_subtitle=="none"){
	$fourth_tab_subtitle=""	;
}
if($fourth_tab_subtitle=="none"){
	$fourth_tab_subtitle=""	;
}
$fourth_tab_image  = $params->get( 'fourth_tab_image');
$fourth_tab_readmore_text  = $params->get( 'fourth_tab_readmore_text');
$fourth_tab_readmore_link  = $params->get( 'fourth_tab_readmore_link');

// 5 Tab
$fifth_tab_activation  = $params->get( 'fifth_tab_activation');
$fifth_tab_thumb  = $params->get( 'fifth_tab_thumb');
$fifth_tab_title  = $params->get( 'fifth_tab_title');
$fifth_tab_subtitle  = $params->get( 'fifth_tab_subtitle');
if($fifth_tab_subtitle=="none"){
	$fifth_tab_subtitle=""	;
}
if($fifth_tab_subtitle=="none"){
	$fifth_tab_subtitle=""	;
}
$fifth_tab_image  = $params->get( 'fifth_tab_image');
$fifth_tab_readmore_text  = $params->get( 'fifth_tab_readmore_text');
$fifth_tab_readmore_link  = $params->get( 'fifth_tab_readmore_link');
?>

<!-- Load Jquery Script -->

<script src="modules/mod_eny_tab_slider/js/eny_jquery.js" type="text/javascript" charset="utf-8"></script>
<script src="modules/mod_eny_tab_slider/js/eny_feature.js" type="text/javascript" charset="utf-8"></script>

<script language="javascript">
var $enytabslider = jQuery.noConflict();
	$enytabslider(document).ready(function() {
		$enytabslider.featureList(
			$enytabslider("#tabs li a"),
			$enytabslider("#output li"), {
				start_item	:	0
			}
		);

	});
</script>